SetFinderLock XCMD allows to lock/unlock a file (Finder info checkbox).
SYNTAX
SetFinderLock <file path or name>[,<locked>][,"DontResolveAlias"]
PARAMETERS
<file path or name> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
<locked> is a boolean defining the lock state. Default is TRUE.
"dontResolveAlias" allows to deal with an alias file itself (System 7.0 only) rather than with the file pointed by it.
Using "!", "?" and "=" as parameter will return an online help (resp. copyright, syntax and output).
Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses: